package org.yenn.pattern.adapter;

import lombok.AllArgsConstructor;
import org.yenn.pattern.adapter.impl.TwoPlugAdapter;
import org.yenn.pattern.adapter.impl.TwoPlugAdapterExtends;

@AllArgsConstructor
public class NoteBook {

	private ThreePlugIf  plug;


	//使用插座充电
	public void charge(){
		plug.powerWithThree();
	}

}
